<?php namespace xlx;

class A{
    public static function ss($super){
         //$super->flags();
        echo "sup init\n";
        for ($i=0; $i < 10000; $i++) { 
            $super->worker([A::class,'bb'],$i);  
        }   
    }
    public static function bb($actor,$i){
        ///echo "worker".$actor->self().'  '.$i."\n";
        yield $actor->receive();
        $a=1;
        
    }

} 

